﻿@{Html.Telerik().Window().Name("Window").Title("编辑框").Modal(true).Buttons(b => b.Maximize().Close())
      .Scrollable(true)
      .Draggable(true).Resizable().Width(500).Height(300).Visible(false).Render();}
@{Html.Telerik().Window().Name("w-peoplefinder").Title("选人编辑框").Modal(true).Buttons(b => b.Maximize().Close())
      .Scrollable(true)
      .Draggable(true).Resizable().Width(500).Height(300).Visible(false).Render(); }
@{Html.Telerik().Window().Name("w-condition").Title("条件编辑框").Modal(true).Buttons(b => b.Maximize().Close())
.Scrollable(true)
.Draggable(true).Resizable().Width(800).Height(400).Content(@<div>
<div class="multiplecondition" style="height:350px; overflow:auto">
    <div style="width:50%;float:left;height:300px;">
        <ul class="condition-element">
            <li elementtype="condition-and" class="condition-and conditiondesign">并运算(AND)</li>
            <li elementtype="condition-or" class="condition-or conditiondesign">或运算(OR)</li>
        </ul>
        @*条件候选池*@
        <ul class="condition-element">
        </ul>
    </div>
    <div style="width:50%;float:left;height:300px;">
    @(Html.Telerik().TreeView().Name("condition-tree").DragAndDrop(settings => settings.DropTargets(".dc_fields"))
                .ClientEvents(events => events.OnNodeDrop("onConditionNodeDropped"))
        .Items(child =>
        {
            child.Add().Text("条件树").ImageUrl("~/images/127.png")
           .ImageHtmlAttributes(new { alt = "organization Icon", @class = "process_designtoolbox_treeview_title_img" });
        }))
    </div>
</div>
    </div>).Visible(false).Render(); }
